package com.xiaohu.demo.service.address.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xiaohu.demo.dao.address.AddressDao;
import com.xiaohu.demo.service.address.AddressService;

@Service("addressService")
public class AddressServiceImpl implements AddressService{

	@Resource
	private AddressDao addressDao;
	
	@Override
	public List<Map<String, Object>> getCity(String level, String parentId) {
		return addressDao.getCity(level, parentId);
	}

	@Override
	public List<Map<String, Object>> getProvince() {
		return addressDao.getProvince();
	}
	
}
